/*
 * DSPTools.h
 *
 * Created: 28/01/2014 16:41:11
 *  Author: edielson
 */ 


#ifndef DSPTOOLS_H_
#define DSPTOOLS_H_

#include "Common.h"

typedef enum enu_DSPResult
{
	DSP_SUCCESS,
	DSP_ERROR,
	DSP_INVALID_PARAMAMETER /*must be the last one*/
}tenu_DSPResult;

Handle			DSPTools_new(void);
Bool8			DSPTools_delete(Handle hHandle);
tenu_DSPResult	DSPTools_calcPreEmphasis(_IN_ Handle hHandle, _IN_ double_t* dpInputData, _IN_ long lInputDataSize);
tenu_DSPResult	DSPTools_resetPreEmphasis(Handle hHandle);
double_t*		DSPTools_createHamming(_IN_ Handle hHandle, _IN_ long lHammingSize);
tenu_DSPResult	DSPTools_deleteHamming(_IN_ Handle hHandle);
tenu_DSPResult	DSPTools_fft(_IN_ double_t* pdInputData,_IN_ int iWindowSize, _OUT_ double_t* pdOutputData, _IN_ int iFFTSize, _IN_ int M);


#endif /* DSPTOOLS_H_ */